import request from "@/utils/request";

//查询质量问题列表
export function getZlwtList(query) {
  return request({
    url: "/quality/problemFeedback/list",
    method: "post",
    params: query,
  });
}
 
// 新增质量问题列表
export function addZlwt(data) {
  return request({
    url: "/quality/problemFeedback/add",
    method: "post",
    data: data,
  });
}
// 上传质量问题
export function updateZlwt(data) {
  return request({
    url: "/quality/problemFeedback/update",
    method: "put",
    data: data,
  });
}
// 删除质量问题
export function delZlwt(id) {
  return request({
    url: "/quality/problemFeedback/delete/id?=" + id,
    method: "delete",
  });
}
 

 